.class public Lcom/zuimeia/ui/base/AbsActionBarActivity;
.super Landroid/app/Activity;
.source "AbsActionBarActivity.java"


# instance fields
.field private mActionBarView:Landroid/widget/RelativeLayout;

.field private mBackArrow:Landroid/view/View;

.field private mBackBtn:Landroid/view/View;

.field private mBackIcon:Landroid/widget/ImageView;

.field private mBackTxt:Landroid/widget/TextView;

.field private mCommitBtn:Landroid/widget/Button;

.field private mContainer:Landroid/widget/FrameLayout;

.field private mMetrics:Landroid/util/DisplayMetrics;

.field private mProgressBar:Lcom/zuimeia/ui/webview/ZMProgressBar;

.field private mRightActionArea:Landroid/widget/FrameLayout;

.field private mRightTitle:Landroid/widget/TextView;

.field private mSearchArea:Landroid/view/View;

.field private mSearchText:Landroid/widget/EditText;

.field private mTitle:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .registers 1

    .prologue
    .line 21
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    return-void
.end method

.method static synthetic access$000(Lcom/zuimeia/ui/base/AbsActionBarActivity;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/zuimeia/ui/base/AbsActionBarActivity;

    .prologue
    .line 21
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackBtn:Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$100(Lcom/zuimeia/ui/base/AbsActionBarActivity;)Landroid/widget/FrameLayout;
    .registers 2
    .param p0, "x0"    # Lcom/zuimeia/ui/base/AbsActionBarActivity;

    .prologue
    .line 21
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mRightActionArea:Landroid/widget/FrameLayout;

    return-object v0
.end method

.method static synthetic access$200(Lcom/zuimeia/ui/base/AbsActionBarActivity;)Landroid/widget/TextView;
    .registers 2
    .param p0, "x0"    # Lcom/zuimeia/ui/base/AbsActionBarActivity;

    .prologue
    .line 21
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mTitle:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$300(Lcom/zuimeia/ui/base/AbsActionBarActivity;)Landroid/util/DisplayMetrics;
    .registers 2
    .param p0, "x0"    # Lcom/zuimeia/ui/base/AbsActionBarActivity;

    .prologue
    .line 21
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mMetrics:Landroid/util/DisplayMetrics;

    return-object v0
.end method

.method static synthetic access$400(Lcom/zuimeia/ui/base/AbsActionBarActivity;)Landroid/widget/Button;
    .registers 2
    .param p0, "x0"    # Lcom/zuimeia/ui/base/AbsActionBarActivity;

    .prologue
    .line 21
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mCommitBtn:Landroid/widget/Button;

    return-object v0
.end method


# virtual methods
.method protected geTopProgress()F
    .registers 2

    .prologue
    .line 165
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mProgressBar:Lcom/zuimeia/ui/webview/ZMProgressBar;

    invoke-virtual {v0}, Lcom/zuimeia/ui/webview/ZMProgressBar;->getProgress()F

    move-result v0

    return v0
.end method

.method protected getBackIconView()Landroid/widget/ImageView;
    .registers 2

    .prologue
    .line 233
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackIcon:Landroid/widget/ImageView;

    return-object v0
.end method

.method protected getSearchEditText()Landroid/widget/EditText;
    .registers 2

    .prologue
    .line 265
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mSearchText:Landroid/widget/EditText;

    return-object v0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .registers 3
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 40
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 41
    sget v0, Lcom/zuimeia/ui/R$layout;->activity_abs_actionbar:I

    invoke-super {p0, v0}, Landroid/app/Activity;->setContentView(I)V

    .line 43
    invoke-virtual {p0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    iput-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mMetrics:Landroid/util/DisplayMetrics;

    .line 45
    sget v0, Lcom/zuimeia/ui/R$id;->action_bar:I

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mActionBarView:Landroid/widget/RelativeLayout;

    .line 46
    sget v0, Lcom/zuimeia/ui/R$id;->right_action_area:I

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mRightActionArea:Landroid/widget/FrameLayout;

    .line 47
    sget v0, Lcom/zuimeia/ui/R$id;->content_container:I

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mContainer:Landroid/widget/FrameLayout;

    .line 48
    sget v0, Lcom/zuimeia/ui/R$id;->btn_back:I

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackBtn:Landroid/view/View;

    .line 49
    sget v0, Lcom/zuimeia/ui/R$id;->back_arrow:I

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackArrow:Landroid/view/View;

    .line 50
    sget v0, Lcom/zuimeia/ui/R$id;->txt_back_text:I

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackTxt:Landroid/widget/TextView;

    .line 51
    sget v0, Lcom/zuimeia/ui/R$id;->img_icon:I

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackIcon:Landroid/widget/ImageView;

    .line 52
    sget v0, Lcom/zuimeia/ui/R$id;->btn_commit:I

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mCommitBtn:Landroid/widget/Button;

    .line 53
    sget v0, Lcom/zuimeia/ui/R$id;->txt_title:I

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mTitle:Landroid/widget/TextView;

    .line 54
    sget v0, Lcom/zuimeia/ui/R$id;->txt_right_title:I

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mRightTitle:Landroid/widget/TextView;

    .line 55
    sget v0, Lcom/zuimeia/ui/R$id;->search_area:I

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mSearchArea:Landroid/view/View;

    .line 56
    sget v0, Lcom/zuimeia/ui/R$id;->search:I

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mSearchText:Landroid/widget/EditText;

    .line 58
    sget v0, Lcom/zuimeia/ui/R$id;->progress_bar:I

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/zuimeia/ui/webview/ZMProgressBar;

    iput-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mProgressBar:Lcom/zuimeia/ui/webview/ZMProgressBar;

    .line 59
    return-void
.end method

.method protected setActionBarBackground(I)V
    .registers 5
    .param p1, "resId"    # I

    .prologue
    .line 78
    iget-object v2, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mActionBarView:Landroid/widget/RelativeLayout;

    invoke-virtual {v2}, Landroid/widget/RelativeLayout;->getPaddingLeft()I

    move-result v0

    .line 79
    .local v0, "hPading":I
    iget-object v2, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mActionBarView:Landroid/widget/RelativeLayout;

    invoke-virtual {v2}, Landroid/widget/RelativeLayout;->getPaddingLeft()I

    move-result v1

    .line 81
    .local v1, "vPading":I
    iget-object v2, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mActionBarView:Landroid/widget/RelativeLayout;

    invoke-virtual {v2, p1}, Landroid/widget/RelativeLayout;->setBackgroundResource(I)V

    .line 82
    iget-object v2, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mActionBarView:Landroid/widget/RelativeLayout;

    invoke-virtual {v2, v0, v1, v0, v1}, Landroid/widget/RelativeLayout;->setPadding(IIII)V

    .line 84
    return-void
.end method

.method protected setActionBarBgColor(I)V
    .registers 5
    .param p1, "color"    # I

    .prologue
    .line 87
    iget-object v2, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mActionBarView:Landroid/widget/RelativeLayout;

    invoke-virtual {v2}, Landroid/widget/RelativeLayout;->getPaddingLeft()I

    move-result v0

    .line 88
    .local v0, "hPading":I
    iget-object v2, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mActionBarView:Landroid/widget/RelativeLayout;

    invoke-virtual {v2}, Landroid/widget/RelativeLayout;->getPaddingLeft()I

    move-result v1

    .line 90
    .local v1, "vPading":I
    iget-object v2, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mActionBarView:Landroid/widget/RelativeLayout;

    invoke-virtual {v2, p1}, Landroid/widget/RelativeLayout;->setBackgroundColor(I)V

    .line 91
    iget-object v2, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mActionBarView:Landroid/widget/RelativeLayout;

    invoke-virtual {v2, v0, v1, v0, v1}, Landroid/widget/RelativeLayout;->setPadding(IIII)V

    .line 92
    return-void
.end method

.method protected setActionBarVisibility(I)V
    .registers 3
    .param p1, "visibility"    # I

    .prologue
    .line 95
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mActionBarView:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    .line 96
    return-void
.end method

.method protected setBackArrowBackground(I)V
    .registers 3
    .param p1, "bgResId"    # I

    .prologue
    .line 104
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackArrow:Landroid/view/View;

    invoke-virtual {v0, p1}, Landroid/view/View;->setBackgroundResource(I)V

    .line 105
    return-void
.end method

.method protected setBackBtnVisibility(I)V
    .registers 3
    .param p1, "visibility"    # I

    .prologue
    .line 181
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackBtn:Landroid/view/View;

    invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V

    .line 182
    return-void
.end method

.method protected setBackIcon(I)V
    .registers 4
    .param p1, "resId"    # I

    .prologue
    const/16 v1, 0x8

    .line 213
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackTxt:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getVisibility()I

    move-result v0

    if-eq v0, v1, :cond_f

    .line 214
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackTxt:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 217
    :cond_f
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackIcon:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_1d

    .line 218
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackIcon:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 221
    :cond_1d
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackIcon:Landroid/widget/ImageView;

    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 222
    return-void
.end method

.method protected setBackText(I)V
    .registers 3
    .param p1, "resId"    # I

    .prologue
    .line 237
    invoke-virtual {p0, p1}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->setBackText(Ljava/lang/String;)V

    .line 238
    return-void
.end method

.method protected setBackText(Ljava/lang/String;)V
    .registers 5
    .param p1, "text"    # Ljava/lang/String;

    .prologue
    const/16 v2, 0x8

    .line 241
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackTxt:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_10

    .line 242
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackTxt:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 245
    :cond_10
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackIcon:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getVisibility()I

    move-result v0

    if-eq v0, v2, :cond_1d

    .line 246
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackIcon:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 249
    :cond_1d
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackTxt:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 250
    return-void
.end method

.method protected setBackTextColor(I)V
    .registers 3
    .param p1, "color"    # I

    .prologue
    .line 253
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackTxt:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 254
    return-void
.end method

.method protected setCommitBtnBackground(I)V
    .registers 4
    .param p1, "resId"    # I

    .prologue
    .line 202
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mCommitBtn:Landroid/widget/Button;

    invoke-virtual {v0}, Landroid/widget/Button;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_e

    .line 203
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mCommitBtn:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    .line 205
    :cond_e
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mCommitBtn:Landroid/widget/Button;

    invoke-virtual {v0, p1}, Landroid/widget/Button;->setBackgroundResource(I)V

    .line 206
    return-void
.end method

.method protected setCommitBtnEnabled(Z)V
    .registers 3
    .param p1, "enabled"    # Z

    .prologue
    .line 209
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mCommitBtn:Landroid/widget/Button;

    invoke-virtual {v0, p1}, Landroid/widget/Button;->setEnabled(Z)V

    .line 210
    return-void
.end method

.method protected setCommitBtnText(I)V
    .registers 4
    .param p1, "resId"    # I

    .prologue
    .line 189
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mCommitBtn:Landroid/widget/Button;

    invoke-virtual {v0}, Landroid/widget/Button;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_e

    .line 190
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mCommitBtn:Landroid/widget/Button;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setVisibility(I)V

    .line 192
    :cond_e
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mCommitBtn:Landroid/widget/Button;

    invoke-virtual {v0, p1}, Landroid/widget/Button;->setText(I)V

    .line 193
    return-void
.end method

.method protected setCommitBtnTextColor(I)V
    .registers 3
    .param p1, "color"    # I

    .prologue
    .line 196
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mCommitBtn:Landroid/widget/Button;

    if-eqz v0, :cond_9

    .line 197
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mCommitBtn:Landroid/widget/Button;

    invoke-virtual {v0, p1}, Landroid/widget/Button;->setTextColor(I)V

    .line 199
    :cond_9
    return-void
.end method

.method protected setCommitBtnVisibility(I)V
    .registers 3
    .param p1, "visibility"    # I

    .prologue
    .line 185
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mCommitBtn:Landroid/widget/Button;

    invoke-virtual {v0, p1}, Landroid/widget/Button;->setVisibility(I)V

    .line 186
    return-void
.end method

.method public setContentView(I)V
    .registers 3
    .param p1, "layoutResID"    # I

    .prologue
    .line 63
    const/4 v0, 0x0

    invoke-static {p0, p1, v0}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->setContentView(Landroid/view/View;)V

    .line 64
    return-void
.end method

.method public setContentView(Landroid/view/View;)V
    .registers 3
    .param p1, "view"    # Landroid/view/View;

    .prologue
    .line 68
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mContainer:Landroid/widget/FrameLayout;

    invoke-virtual {v0, p1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 69
    return-void
.end method

.method public setContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
    .registers 4
    .param p1, "view"    # Landroid/view/View;
    .param p2, "params"    # Landroid/view/ViewGroup$LayoutParams;

    .prologue
    .line 73
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mContainer:Landroid/widget/FrameLayout;

    invoke-virtual {v0, p1, p2}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 74
    return-void
.end method

.method protected setOnBackClickListener(Landroid/view/View$OnClickListener;)V
    .registers 3
    .param p1, "listener"    # Landroid/view/View$OnClickListener;

    .prologue
    .line 257
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mBackBtn:Landroid/view/View;

    invoke-virtual {v0, p1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 258
    return-void
.end method

.method protected setOnCommitClickListener(Landroid/view/View$OnClickListener;)V
    .registers 3
    .param p1, "listener"    # Landroid/view/View$OnClickListener;

    .prologue
    .line 261
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mCommitBtn:Landroid/widget/Button;

    invoke-virtual {v0, p1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 262
    return-void
.end method

.method protected setRightActionAreaView(Landroid/view/View;)V
    .registers 3
    .param p1, "customView"    # Landroid/view/View;

    .prologue
    .line 99
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mRightActionArea:Landroid/widget/FrameLayout;

    invoke-virtual {v0}, Landroid/widget/FrameLayout;->removeAllViews()V

    .line 100
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mRightActionArea:Landroid/widget/FrameLayout;

    invoke-virtual {v0, p1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;)V

    .line 101
    return-void
.end method

.method protected setRightTitle(I)V
    .registers 4
    .param p1, "resId"    # I

    .prologue
    .line 225
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mRightTitle:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_e

    .line 226
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mRightTitle:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 229
    :cond_e
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mRightTitle:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(I)V

    .line 230
    return-void
.end method

.method protected setSearchAreaVisibility(I)V
    .registers 5
    .param p1, "visibility"    # I

    .prologue
    const/16 v2, 0x8

    .line 169
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mSearchArea:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_10

    .line 170
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mSearchArea:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 173
    :cond_10
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mTitle:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getVisibility()I

    move-result v0

    if-eq v0, v2, :cond_1d

    .line 174
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mTitle:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 177
    :cond_1d
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mSearchArea:Landroid/view/View;

    invoke-virtual {v0, p1}, Landroid/view/View;->setVisibility(I)V

    .line 178
    return-void
.end method

.method protected setTopProgress(F)V
    .registers 3
    .param p1, "progress"    # F

    .prologue
    .line 161
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mProgressBar:Lcom/zuimeia/ui/webview/ZMProgressBar;

    invoke-virtual {v0, p1}, Lcom/zuimeia/ui/webview/ZMProgressBar;->setProgress(F)V

    .line 162
    return-void
.end method

.method protected setTopProgressBarVisibility(Z)V
    .registers 4
    .param p1, "visible"    # Z

    .prologue
    .line 157
    iget-object v1, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mProgressBar:Lcom/zuimeia/ui/webview/ZMProgressBar;

    if-eqz p1, :cond_9

    const/4 v0, 0x0

    :goto_5
    invoke-virtual {v1, v0}, Lcom/zuimeia/ui/webview/ZMProgressBar;->setVisibility(I)V

    .line 158
    return-void

    .line 157
    :cond_9
    const/4 v0, 0x4

    goto :goto_5
.end method

.method protected setTopTitle(I)V
    .registers 3
    .param p1, "resId"    # I

    .prologue
    .line 112
    invoke-virtual {p0, p1}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/zuimeia/ui/base/AbsActionBarActivity;->setTopTitle(Ljava/lang/String;)V

    .line 113
    return-void
.end method

.method protected setTopTitle(Ljava/lang/String;)V
    .registers 4
    .param p1, "text"    # Ljava/lang/String;

    .prologue
    const/16 v1, 0x8

    .line 116
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mSearchArea:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-eq v0, v1, :cond_f

    .line 117
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mSearchArea:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 120
    :cond_f
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mTitle:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getVisibility()I

    move-result v0

    if-eqz v0, :cond_1d

    .line 121
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mTitle:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 124
    :cond_1d
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mTitle:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 125
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_32

    .line 126
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mTitle:Landroid/widget/TextView;

    new-instance v1, Lcom/zuimeia/ui/base/AbsActionBarActivity$1;

    invoke-direct {v1, p0}, Lcom/zuimeia/ui/base/AbsActionBarActivity$1;-><init>(Lcom/zuimeia/ui/base/AbsActionBarActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->post(Ljava/lang/Runnable;)Z

    .line 150
    :cond_32
    return-void
.end method

.method protected setTopTitleTextColor(I)V
    .registers 3
    .param p1, "color"    # I

    .prologue
    .line 108
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mTitle:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 109
    return-void
.end method

.method protected setTopTitleVisibility(I)V
    .registers 3
    .param p1, "visibility"    # I

    .prologue
    .line 153
    iget-object v0, p0, Lcom/zuimeia/ui/base/AbsActionBarActivity;->mTitle:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 154
    return-void
.end method
